//
//  HeaderView.h
//  TaTaBang
//
//  Created by  on 15/8/16.
//  Copyright (c) 2015年 hailong. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HeaderViewItem <NSObject>

@end
@interface HeaderViewItem : NSObject

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *norIcon;
@property (nonatomic, copy) NSString *hightIcon;

@end

typedef enum {
    HeaderViewTypePetManager,
    HeaderViewTypeBeautyManager,
    HeaderViewTypeFeedService,
    HeaderViewTypeTrainManager,
    HeaderViewTypeBookService
}HeaderViewType;

@class HeaderView;
@protocol HeaderViewDelegate <NSObject>

@optional
- (void)headerView:(HeaderView *)buttomView didSelectedButtomViewType:(HeaderViewType)type;

@end

@interface HeaderView : UIView

@property (nonatomic, weak) id<HeaderViewDelegate> delegate;

+ (instancetype)headerViewWithItems:(NSArray<HeaderViewItem> *)items;


@end
